/**
 * 个人中心页面接口
 */
import {
	http
} from '@/utils/request/service.js'

//=================专家相关接口======================

/**获取专家列表*/
export const getNbDoctorListApi = () => {
	return http.post('/patient/ctCustomer/getNbDoctorList')
}
/**获取患者病历*/
export const getMedicalRecordListApi = (params) => {
	return http.post('/patient/ctCustomer/getMedicalRecordList',params)
}

/**获取专家的详细内容*/
export const getNbDoctorInfoApi = (nbId) => {
	return http.post('/patient/ctCustomer/getNbDoctorInfo', {
		nbId
	})
}
/**资讯专家*/
export const informationNbDoctorApi = (nbDoctorId) => {
	return http.post('/patient/imchat/consulting4NbDoctor', {
		nbDoctorId
	})
}
/**我的处方页面初始化列表*/
export const myPrescriptionInitApi = () => {
	return http.post('/patient/ctCustomer/myPrescriptionInit')
}

/**获取专家的二维码链接*/
export const getNbDoctorCodeApi = (nbId) => {
	return http.post('/patient/ctCustomer/getNbDoctorCode', {
		nbId
	})
}
